/* 已选 */
.sku {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  /*padding: 20rpx;*/
  background: #fff;
  /*padding: 30rpx 20rpx;*/
  margin-top: 20rpx;
}

.sku-tit {
  font-size: 22rpx;
  color: #999;
  margin-right: 20rpx;
}

.sku-con {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 28rpx;
  font-weight: bold;
  max-width: 77%;
}

.more {
  position: absolute;
  right: 20rpx;
  width: 60rpx;
  top: 16rpx;
  text-align: right;
  font-size: 40rpx;
  color: #999;
  letter-spacing: 1px;
}

/* 已选 end */

/** 规格弹窗**/

.pup-sku {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.3);
}

.pup-sku-main {
  position: absolute;
  bottom: 0;
  width: 100%;
  min-height: 375px;
  max-height: 500px;
  background-color: #fff;
  border-radius: 20rpx 20rpx 0 0;
}

.close {
  color: #3d3d3d;
  border-radius: 12px;
  line-height: 20px;
  text-align: center;
  height: 20px;
  width: 20px;
  font-size: 18px;
  padding: 1px;
  top: 10px;
  right: 10px;
  position: absolute;
}

.pup-sku-header {
  position: relative;
  font-size: 16px;
  color: #333;
  padding: 20rpx 20rpx;
  background-color: #fff;
  border-bottom: 1rpx solid #f2f2f2;
  padding-top: 35rpx;
  border-radius: 20rpx 20rpx 0 0;
}

.pup-sku-img {
  display: inline-block;
  width: 27%;
  height: 180rpx;
  vertical-align: middle;
  border-radius: 10rpx;
}
.pup-sku-img image {
  display: block;
  width: 180rpx;
  height: 100%;
  border-radius: 22.67rpx;
}

.pup-sku-prod {
  display: inline-block;
  width: 70%;
  vertical-align: middle;
  padding-left: 10rpx;
}

.prod-title {
  font-size: 28rpx;
  display: -webkit-box;
  -webkit-line-clamp: 1; /*设定显示行数*/
  -webkit-box-orient: vertical;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin: 15rpx 0;
}

.pup-sku-price {
  display: inline-block;
  height: 1.5em;
  line-height: 1.5em;
  color: #ff6d13;
  font-size: 26rpx;
}
.group-sku-pri {
  display: flex;
  align-items: center;
}

.pup-sku-price-int {
  font-size: 34rpx;
}

.pup-sku-prop {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  font-size: 26rpx;
  color: #333;
  line-height: 1.4em;
  padding-right: 10px;
  margin-top: 16rpx;
  overflow: unset;
}

.sel-sku {
  display: inline-block;
  max-width: 340rpx;
  display: -webkit-box;
  -webkit-line-clamp: 1; /*设定显示行数*/
  -webkit-box-orient: vertical;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 5px;
}

.pup-sku-prop text:first-child {
  color: #999;
}

.pup-sku-body {
  padding-bottom: calc(110rpx + constant(safe-area-inset-bottom));
  padding-bottom: calc(110rpx + env(safe-area-inset-bottom));
  /* overflow: auto; */
}

.pup-sku-main {
  max-height: 750px;
}

.pup-sku-area {
  max-height: 245px;
  overflow-y: scroll;
}
.pup-sku-area .sku-box {
  max-height: 245px;
  overflow-y: scroll;
}

.pup-sku-area .sku-kind {
  font-size: 12px;
  color: #999;
  margin: 0 10px;
  height: 40px;
  line-height: 40px;
}
.pup-sku-area .con {
  padding-right: 20rpx;
}

.pup-sku-area .sku-choose {
  overflow: hidden;
  margin-bottom: 3px;
}

.sku-choose-item {
  display: inline-block;
  min-width: 100rpx;
  max-width: 540rpx;
  /*padding: 0 10rpx;*/
  overflow: hidden;
  /*height: 50rpx;*/
  line-height: 50rpx;
  text-align: center;
  margin-left: 10px;
  margin-bottom: 10px;
  border-radius: 10.47rpx;
  color: #333;
  background-color: #f7f7f7;
  font-size: 27.91rpx;
  /* border: 1px solid #aaa; */
  padding: 13.08rpx 10rpx;
}

.sku-choose-item.active {
  /*background-color: #ff6d13;*/
  /*color: #fff;*/
  border: 1px solid #ff6d13 !important;
}

.sku-choose-item.gray {
  background-color: #f9f9f9;
  color: #ddd;
}
.sku-choose-item.dashed {
  border: 1px dashed #ccc;
}

.pup-sku-count {
  display: flex;
  justify-content: space-between;
  padding: 0 10px 13px;
  font-size: 12px;
  margin-top: 20rpx;
}

.pup-sku-count .count-name {
  height: 31px;
  line-height: 31px;
  width: 100rpx;
  color: #333;
  font-size: 27.91rpx;
}

.pup-sku-count .num-wrap {
  position: relative;
  z-index: 0;
  width: 110px;
  float: right;
  vertical-align: middle;
  display: flex;
}

/* 留言（虚拟商品） */
.virtual-goods-tips {
  display: block;
  background: #f9f9f9;
  padding: 20rpx;
  color: #999999;
  font-size: 24rpx;
  margin-bottom: 20rpx;
  line-height: 1.5em;
}
.pup-sku-count.virtual-goods-msg {
  margin-bottom: 30rpx;
  max-height: 600rpx;
  overflow-y: auto;
}
.pup-sku-count.virtual-goods-msg .msg-item {
  display: flex;
  align-items: center;
  border-bottom: 2rpx solid #f2f2f2;
  font-size: 24rpx;
  padding-bottom: 20rpx;
}
.pup-sku-count.virtual-goods-msg .msg-item:not(:first-child) {
  margin-top: 40rpx;
}
.pup-sku-count.virtual-goods-msg .msg-item .msg-tit {
  flex-wrap: wrap;
  width: 180rpx;
  margin-right: 20rpx;
  word-break: break-word;
}
.pup-sku-count.virtual-goods-msg .msg-item .stress {
  color: #ff6d13;
  margin-right: 10rpx;
  font-size: 26rpx;
}
.pup-sku-count.virtual-goods-msg .msg-item .msg-int {
  font-size: 24rpx;
  width: 100%;
}
.pup-sku-count.virtual-goods-msg .msg-item .msg-int .uni-input-placeholder {
  color: #aaa;
}
/* 留言（虚拟商品）/ */

.num-wrap .minus,
.num-wrap .plus {
  position: relative;
  max-width: 30px;
  min-width: 30px;
  height: 30px;
  line-height: 30px;
  background: #f7f7f7;
  text-align: center;
}

.num-wrap .minus {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.num-wrap .plus {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.num-wrap .row {
  border-radius: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -7px;
  margin-top: -1px;
  width: 14px;
  height: 2px;
  background-color: #ccc;
}

.num-wrap .col {
  border-radius: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -1px;
  margin-top: -7px;
  width: 2px;
  height: 14px;
  background-color: #999;
}

.pup-sku-count .text-wrap {
  position: relative;
  width: 45px;
  z-index: 0;
  margin: 0 1px;
}

.pup-sku-count .text-wrap input {
  height: 30px;
  width: 100%;
  color: #333;
  background: #fff;
  font-size: 12px;
  text-align: center;
  border: none;
  background: #f7f7f7;
}

.pup-sku-footer {
  position: fixed;
  bottom: 0;
  bottom: constant(safe-area-inset-bottom);
  bottom: env(safe-area-inset-bottom);
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: row nowrap;
  align-items: center;
  height: 110rpx;
  z-index: 999;
  /* box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05); */
}

.pup-sku-footer .btn {
  position: relative;
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  font-size: 30rpx;
  flex-flow: column;
  border-radius: 60rpx;
  height: 2.8em;
  width: 45%;
  margin: 0 15rpx;
}

.pup-sku-footer .btn.cart {
  background: #ff6d13 !important;
  color: #fff !important;
}

.pup-sku-footer .btn.buy {
  /*background: linear-gradient(90deg, #ff4515 0%, #ff9610 100%);*/
  background-color: #ff4916 !important;
  color: #fff !important;
}
.pup-sku-footer .btn.pre-sale-buy {
  background: #ff6d13;
  color: #fff;
}
.pup-sku-footer.gray .btn {
  background: #eee;
  color: #999;
}

.gray-btn {
  background-color: #dddddd !important;
  color: #ffffff !important;
}

/* 输入框聚焦遮罩 */
.input-mask {
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}
